<template>
  <div>
    <div>
      <h4>七项手功能测试</h4>
      <el-row type="flex" justify="space-between">
        <el-col :span="3">
          <span>写一句话:</span>
        </el-col>
        <el-col :span="21">
          <el-input style="width: 80%;margin-top: -10px" v-model="pgForm.yijuhua" clearable placeholder="请输入"></el-input>
<!--            <el-button type="primary">请选择文件</el-button>-->
        </el-col>
        <el-col :span="7">
          <span>模仿藏书</span>
          <div class="grid-content">
            <el-radio v-model="pgForm.radio_mfcs" label="1">有</el-radio>
            <el-radio v-model="pgForm.radio_mfcs" label="0">无</el-radio>
          </div>
        </el-col>
        <el-col :span="7">
          <span>拾起小物品</span>
          <div class="grid-content">
            <el-radio v-model="pgForm.radio_sjxwp" label="1">有</el-radio>
            <el-radio v-model="pgForm.radio_sjxwp" label="0">无</el-radio>
          </div>
        </el-col>
        <el-col :span="7">
          <span>堆放棋子</span>
          <div class="grid-content">
            <el-radio v-model="pgForm.radio_dfqz" label="1">有</el-radio>
            <el-radio v-model="pgForm.radio_dfqz" label="0">无</el-radio>
          </div>
        </el-col>
        <el-col :span="7">
          <span>模仿进食</span>
          <div class="grid-content">
            <el-radio v-model="pgForm.radio_mfjs" label="1">有</el-radio>
            <el-radio v-model="pgForm.radio_mfjs" label="0">无</el-radio>
          </div>
        </el-col>
        <el-col :span="7">
          <span>移动轻的物品</span>
          <div class="grid-content">
            <el-radio v-model="pgForm.radio_ydqdwp" label="1">有</el-radio>
            <el-radio v-model="pgForm.radio_ydqdwp" label="0">无</el-radio>
          </div>
        </el-col>
        <el-col :span="7">
          <span>移动重的物品</span>
          <div class="grid-content">
            <el-radio v-model="pgForm.radio_ydzdwp" label="1">有</el-radio>
            <el-radio v-model="pgForm.radio_ydzdwp" label="0">无</el-radio>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "seven_hand_tests",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      pgForm: {
        yijuhua:'',
        radio_mfcs: '',
        radio_sjxwp: '',
        radio_dfqz: '',
        radio_mfjs: '',
        radio_ydqdwp: '',
        radio_ydzdwp: '',
      }
    };
  },

}
</script>

<style scoped>

.el-radio-group{
  padding: 10px 20px;
}
.el-radio{
  display: block;
  margin-bottom: 15px;
}
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;
}
.el-col {
  margin:10px 0;
}
</style>

